#ifndef WINDOWSRUNTIME_H_
#define WINDOWSRUNTIME_H_

#include "Header.h"

//Include Windows library
#include <Windows.h>
#include <time.h>

//Include OpenGLES 2.0 library
#include "EGL/egl.h"
#include "GLES2/gl2.h"

class WindowsRuntime
{
private:
	EGLDisplay display;
	EGLContext context;
	EGLSurface surface;

public:
	WindowsRuntime();
	virtual ~WindowsRuntime();
	HWND WinCreate(const CHAR* title, INT32 width, INT32 height);
	void InitOpenGLES(HWND hWnd, INT32 width, INT32 height);
	void Run();

	friend LRESULT WINAPI WndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
};

#endif

